Replication package for 
    Managing the Costs of Backing Down: 
    A ``Mirror Experiment'' on Reputations and Audience Costs in a Real-World Conflict


MANIFEST
1. exp1.csv - Data set for Experiment 1 (Japan threatens and backs down)
2. exp2.csv - Data set for Experiment 2 (China threatens and backs down)
3. replicate.R - R script for replicating the statistics and figures
4. README.txt - this file
5. replication.Rproj - An Rproj file for easy configuration of the working directory.
6. appendix.Rmd - RMarkdown file for replicating online appendix.
7. appendix.pdf - online appendix.
8. textanalysisJOP_KQT.Rmd - RMarkdown file for replicating online appendix (text analysis in Japanese).
9. exp1_JPNthreats_backdown - Data with open-text question for Experiment 1 (Japan threatens and backs down) 
10. exp2_CHNthreats_backdown - Data with open-text question for Experiment 2 (China threatens and backs down) 
11. figd1 - summary figure included in appendix

STEPS TO REPLICATE
1. Extract all files in the same folder and set the folder as working directory.
2. Source 'replicate.R'. Calculations will be printed in the console window, while figures 
     will be saved in the output directory as fig1.png and fig2.png.
